import http from "@/api";

export function pageHeros(pageDTO) {
  return http.get({
    url: "/api/hero/page",
    params: pageDTO,
  });
}
export function heroDetail(id) {
  return http.get({
    url: "/api/hero/detail",
    params: {
      id: id,
    },
  });
}
